
const Filters = {
  install(Vue: any, options = {}) {
    Vue.filter('formattingDate', function (time: any) {
      let oldDate = new Date(time)
      let year = oldDate.getFullYear();
      let month = oldDate.getMonth() + 1;
      let day = oldDate.getDate();
      return day + "/" + month + "/" + year
      // return year + "-" + month + "-" + day;
    })
  }
};


export default Filters;



